﻿using System;
using System.Runtime.Serialization;

namespace FileManager_Server.ServiceModel.WCF_Args_Model
{
    [DataContract]
    public class UploadFileInfo
    {
        //服务器文件地址
        [DataMember]
        public string Name { get; set; }

        //文件大小
        [DataMember]
        public long Length { get; set; }

        //文件的偏移量
        [DataMember]
        public long Offset { get; set; }

        //传递的字节数
        [DataMember]
        public byte[] Data { get; set; }

        [DataMember]
        public long UploadSize { get; set; }
    }
}